/**
 * @Description: utils工具类方法
 * @Author: mofish
 * @Date: 2022-05-27
 * @LastEditTime: 2022-05-27
 * @LastEditors: mofish
 */

// 获取数据类型
export function getDataType (data: any): string {
  return (Object.prototype.toString.call(data).match(/\s(\w+)\]/) as string[])[1]
}

